<template>
	<view class="container">
		<scroll-view class="scroll" scroll-y>
			<my-rich-text :htmlContent="content"></my-rich-text >
		</scroll-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:""
			};
		},
		mounted() {
			this.getAbout()
		},
		methods:{
			async getAbout() {
				let res = await this.$api.aboutUs()
				console.log(res,11111)
				this.content = res.data.data.content
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.scroll {
		flex: 1;
		height: 100%;
	}
</style>
